package cn.wolfcode.shop.cloud.mq;

public class MQConstans {

    //主题
    public static final String CREATE_ORDER = "CREATE_ORDER";

    //秒杀中操作
    //消费者组
    public static final String CREATE_ORDER_GROUP = "CREATE_ORDER_GROUP";

    //标签
    public static final String CREATE_ORDER_TAG = "CREATE_ORDER_TAG";

    //目标目的地
    public static final String CREATE_ORDER_DEST = CREATE_ORDER + ":" + CREATE_ORDER_TAG;


    //秒杀成功操作
    //消费者组
    public static final String CREATE_ORDER_SUCCESS_GROUP = "CREATE_ORDER_SUCCESS_GROUP";

    //标签
    public static final String CREATE_ORDER_SUCCESS_TAG = "CREATE_ORDER_SUCCESS_TAG";

    //目标目的地
    public static final String CREATE_ORDER_SUCCESS_DEST = CREATE_ORDER + ":" + CREATE_ORDER_SUCCESS_TAG;


    //延时操作
    //消费者组
    public static final String CREATE_ORDER_DELAY_GROUP = "CREATE_ORDER_DELAY_GROUP";

    //标签
    public static final String CREATE_ORDER_DELAY_TAG = "CREATE_ORDER_DELAY_TAG";

    //目标目的地
    public static final String CREATE_ORDER_DELAY_DEST = CREATE_ORDER + ":" + CREATE_ORDER_DELAY_TAG;


    //广播操作
    //消费者组
    public static final String CREATE_ORDER_BRDER_GROUP = "CREATE_ORDER_BRDER_GROUP";

    //标签
    public static final String CREATE_ORDER_BRDER_TAG = "CREATE_ORDER_BRDER_TAG";

    //目标目的地
    public static final String CREATE_ORDER_BRDER_DEST = CREATE_ORDER + ":" + CREATE_ORDER_BRDER_TAG;


    //秒杀失败操作
    //消费者组
    public static final String CREATE_ORDER_FAIL_GROUP = "CREATE_ORDER_FAIL_GROUP";

    //标签
    public static final String CREATE_ORDER_FAIL_TAG = "CREATE_ORDER_FAIL_TAG";

    //目标目的地
    public static final String CREATE_ORDER_FAIL_DEST = CREATE_ORDER + ":" + CREATE_ORDER_FAIL_TAG;

}
